/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package entidades;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author RENZO
 */
public class Concesionaria implements Serializable, IEntidad {
    
    private long id;
    private String razonSocial;
    private String ruc;
    private String descripcion;
    private Persona contacto;
    private List<ZonaConcesionaria> listaZonas;

    public Concesionaria() {
    }

    public Concesionaria(long id, String razonSocial, String ruc, String descripcion, Persona contacto) {
        this.id = id;
        this.razonSocial = razonSocial;
        this.ruc = ruc;
        this.descripcion = descripcion;
        this.contacto = contacto;
    }

    public Persona getContacto() {
        return contacto;
    }

    public void setContacto(Persona contacto) {
        this.contacto = contacto;
    }

    public String getDescripcion() {
        return descripcion;
    }

    public void setDescripcion(String descripcion) {
        this.descripcion = descripcion;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getRazonSocial() {
        return razonSocial;
    }

    public void setRazonSocial(String razonSocial) {
        this.razonSocial = razonSocial;
    }

    public String getRuc() {
        return ruc;
    }

    public void setRuc(String ruc) {
        this.ruc = ruc;
    }

    public List<ZonaConcesionaria> getListaZonas() {
        return listaZonas;
    }

    public void setListaZonas(List<ZonaConcesionaria> listaZonas) {
        this.listaZonas = listaZonas;
    }

    @Override
    public Boolean save() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Object getEntity(long id) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Object getEntity(long id, List<JoinObject> joinObjects) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public List<Object> getAll() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public List<Object> getAll(List<JoinObject> joinObjects) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
}
